package com.rxyb.security.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/5/22  15:05
 */
@JsonSerialize(using = BusiOAuth2ExceptionJacksonSerializer.class)
public class BusiOAuth2Exception extends OAuth2Exception {


    public BusiOAuth2Exception(String msg, Throwable t) {
        super(msg, t);
    }

    public BusiOAuth2Exception(String msg) {
        super(msg);
    }
}
